package alkaid.eis.schedule.domain;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * 任务日志数据接口
 *  
 * @author Lucky Yang
 * @since 0.0.1
 */
public interface JobLogRepository extends JpaRepository<JobLog, Long>, JpaSpecificationExecutor<JobLog> {
    /**
     * 查询
     * 
     * @param jobInfo 任务信息
     * @return
     */
    List<JobLog> findByJobInfo(JobInfo jobInfo);
    
}
